package com.egao.common.component.elasticsearch.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * ElasticSearch 数据容器
 * @author lym
 */
@Data
public class ElasticPushMsgData {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("单位是否推送（0：推送；1：不推送）")
    private String companyFlag;

    @ApiModelProperty("学校管理员推送状态（0：推送；1：未推送）")
    private String adminFlag;

    @ApiModelProperty("学生编号")
    private Integer studentId;

    @ApiModelProperty("业务类型（1：招聘；2：宣讲会；3：空中宣讲会）")
    private String type;

    @ApiModelProperty("匹配度")
    private String matching;

    @ApiModelProperty("业务编号（招聘编号、宣讲会编号、空中宣讲会编号）")
    private Integer businessId;

    @ApiModelProperty("单位编号")
    private Integer companyId;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("业务实际（有效期、举办时间）")
    private Date businessDate;

    @ApiModelProperty("手动发送还是自动发送（1：学校发送、2：系统发送）")
    private String pushType;

    @ApiModelProperty("推送时间")
    private Date pushDate;

    @ApiModelProperty("推送内容")
    private String pushContent;

    @ApiModelProperty("匹配情况")
    private String positionMatching;

    @ApiModelProperty("是否已读（1：否；0：是）")
    private String readFlag;

    @ApiModelProperty("阅读时间")
    private Date readDate;

    @ApiModelProperty("是否发送简历（1：否；0：是）")
    private String resumeFlag;

    @ApiModelProperty("发送简历时间")
    private Date resumeDate;

    @ApiModelProperty("简历地址")
    private String resumeFile;

    @ApiModelProperty("添加时间")
    private Date createTime;

    @ApiModelProperty("编辑时间")
    private Date updateTime;

    @ApiModelProperty("逻辑删除 0正常 1删除")
    private Integer deleted;

    @ApiModelProperty("业务编号")
    private String bid;

    @ApiModelProperty("单位编号")
    private String cid;

    @ApiModelProperty("学号")
    private String xh;

    @ApiModelProperty("单位性质")
    private String nature;

    @ApiModelProperty("单位行业")
    private String industry;

    @ApiModelProperty("单位规模")
    private String scale;

    @ApiModelProperty("所在省份")
    private String province;

    @ApiModelProperty("所在城市")
    private String city;

    @ApiModelProperty("学院编号")
    private String collegeCode;

    @ApiModelProperty("学院名称")
    private String collegeName;

    @ApiModelProperty("专业名称")
    private String majorName;

    @ApiModelProperty("职位数组")
    private ElasticPositionData[] positions;

    @ApiModelProperty("职位")
    private String positionNames;

    @ApiModelProperty("年份ID编码")
    private Integer yearId;
}
